package com.hilin.entity.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.hilin.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author qhl
 * @since 2021-11-24
 */
@Data
@ApiModel("用户群组表")
@TableName("account_im_group")
public class AccountImGroupPo extends BaseEntity<AccountImGroupPo> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("所属机构ID")
    @TableField("org_id")
    private Long orgId;
    @ApiModelProperty("群组ID")
    @TableField("group_id")
    private String groupId;
    @ApiModelProperty("用户ID")
    @TableField("account_id")
    private String accountId;
    @ApiModelProperty("创建时间")
    @TableField("creator_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date creatorTime;
    @ApiModelProperty("更新时间")
    @TableField("updator_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updatorTime;
}